package cn.jiyun.dao;

import cn.jiyun.pojo.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface Odao extends BaseMapper<Order> {
    @Update("UPDATE tb_order SET user_id=#{userId},NAME=#{name},price=#{price},num=#{num} WHERE id=#{id}")
    void updateByIdzx(Order order);


}
